Call external program to take photos. To use Raspberry Pi official camera you can use command below.<br>
<samp>raspistill --output {{file}} --nopreview</samp>